package com.hkzhao.shixun.dto;
/**

 * @Description:

 * @Author: hkzhao

 * @Date: 2020/6/6 16:49

 * @Param: 

 * @Return: 

 */
public enum QueueEnum {
    //超过一天没填写信息的取消中奖资格的ttl队列
    QUEUE_ENUM_CancleLottery_TTL("cvte.user.direct.ttl","cvte.user.cancleLottery.tll","cvte.user.cancleLottery.ttl"),
    QUEUE_ENUM_CancleLottery("cvte.user.direct","cvte.user.cancleLottery","cvte.user.cancleLottery");
    //交换机名字
    private String exchange;
    //队列名称
    private String name;
    //路由键
    private String routeKey;
    QueueEnum(String exchange,String name,String routeKey)
    {
        this.exchange = exchange;
        this.name = name;
        this.routeKey =  routeKey;
    }

    public String getExchange() {
        return exchange;
    }

    public String getRouteKey() {
        return routeKey;
    }

    public String getName() {
        return name;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setRouteKey(String routeKey) {
        this.routeKey = routeKey;
    }
}
